﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Touch2Like.DAL;
using System.Data;


namespace Touch2Like.Web
{
    public partial class Stores : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                ProductDAL goods = new ProductDAL();
                DataTable dtGoods = goods.GetAllProducts().Tables[0];

                Repeater_Goods.DataSource = dtGoods;
                Repeater_Goods.DataBind();
            }
        }
    }
}